package com.example.shixunandjavagotoyangchen.BoosYang.Day001.Day00107;

import com.blankj.utilcode.util.ToastUtils;
import com.example.modelviewpresenter.Presenter.BasterPresenter;
import com.example.shixunandjavagotoyangchen.BoosYang.Day001.Day00108.BaseDay00108Bean;
import com.example.shixunandjavagotoyangchen.BoosYang.Day001.Day00108.BaseDay00108Callbck;
import com.example.shixunandjavagotoyangchen.BoosYang.Day001.Day00108.BaseDay00108Contion;

import java.util.List;

/**
 * 作者:二徒
 * 时间：2021/10/27- 9:18
 * 功能实现：
 */
public class BaseDay00107Presenter extends BasterPresenter<BaseDay00107Contion.vier,BaseDay00107Contion.moder> {

    public BaseDay00107Presenter(BaseDay00107Contion.vier iew, BaseDay00107Contion.moder asd) {
        super(iew, asd);
    }


    public void dogetin(String name){
        asd.getmoder(name, new BaseDay00107Callbck() {
            @Override
            public void suees(List<BaseDay00107Bean.DataBean> dataBeans) {
                iew.getvier(dataBeans);
            }

            @Override
            public void filai(String uet) {
                ToastUtils.showShort(""+uet);
            }
        });
    }
}
